Skip to content

[#TODO] Fix race condition in async exception handling by combining JMS ExceptionListener and TransportListener notifications#1666

Open
jeanouii wants to merge 1 commit intoapache:mainfrom
jeanouii:fix/connection-race-condition-on-exception-and-transport-notification
Open

[#TODO] Fix race condition in async exception handling by combining JMS ExceptionListener and TransportListener notifications#1666
jeanouii wants to merge 1 commit intoapache:mainfrom
jeanouii:fix/connection-race-condition-on-exception-and-transport-notification

Conversation

@jeanouii
Copy link
Contributor

@jeanouii jeanouii commented Feb 11, 2026

I'm not quite sure if it's possible or not, but looks like there is a race condition where the transport failed listener is invoked before the exception listener. The test requires the exception listener to be invoked first so they need to be invoked sequentially withing the same runnable.

…notifications are not dropped when executor is terminated
@jeanouii jeanouii force-pushed the fix/connection-race-condition-on-exception-and-transport-notification branch from 86c4c55 to e6d8cd8 Compare February 11, 2026 21:56
@jeanouii jeanouii changed the title WIP [#TODO] Fix race condition in async exception handling by combining JMS Excep… [#TODO] Fix race condition in async exception handling by combining JMS ExceptionListener and TransportListener notifications Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments